<?php
require_once 'init.php';

$news = cf\query2array('SELECT * FROM cf_news WHERE id=:id OR code=:id',array('id'=>cf\param::get('id')));
$smarty->assign('news',$news);

show(
	'news', 
	$news['name'], 
	array(),
	$news['tag_title'], 
	$news['tag_meta_keywords'], 
	$news['tag_meta_descr']
);

?>